import java.util.Scanner;

class Student{
        private String name;
        private int age;
        private String sex;

    public Student(String name, int age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    public void putout(){
        System.out.println("姓名：" + this.name);
        System.out.println("年龄：" + this.age);
        System.out.println("性别：" + this.sex);
    }
}
public class test {
    public static void main1(String[] args) {
        Student stu1 = new Student("zhangsan",18,"男");
        stu1.putout();
        Student stu2 = new Student("xiaogao",20,"男");
        stu2.putout();
        Student stu3 = new Student("xiaobo",22,"男");
        stu3.putout();
    }

    static boolean nihao;
    public static void main(String[] args) {
        System.out.println(nihao);
    }
}



